package com.emergency.db.service.staff;

import com.emergency.db.domain.staff.StaffStatus;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface StaffStatusService {
    Long save(StaffStatus staffStatus);

    StaffStatus findById(Long id);

    List<StaffStatus> findAllByStaff(Long id);

    void delete(Long id);

    void deleteAllByStaff(Long id);

    Page<StaffStatus> findList(Map searchMap, int page, int size);
}
